package com.lej.my

import com.lej.core.router.CRouter
import com.lej.dataservice.club.http.base.HttpUrl

/**
 *  author: cjq
 *  date  : 2022/6/9 0009
 *  desc  :
 */
enum class MyTabData(
    val normalId: Int,
    val selectId: Int,
    val title: String,
    val route: String,
    val url: String = "",
) {
    INFORMATION(
        R.drawable.ic_my_information,
        R.drawable.ic_my_information_sel,
        "个人资料",
        CRouter.myInformation
    ),
    SPACE(
        R.drawable.ic_my_space,
        R.drawable.ic_my_space_sel,
        "空间",
        CRouter.mySpace
    ),
    COLLECT(
        R.drawable.ic_my_collect,
        R.drawable.ic_my_collect_sel,
        "数字文创",
        CRouter.myCollect
    ),
    COMPOUND(
        R.drawable.ic_my_compound,
        R.drawable.ic_my_compound_sel,
        "碎片合成",
        CRouter.webView,
        HttpUrl.MY_COMPOUND
    ),
    ORDER(
        R.drawable.ic_my_order,
        R.drawable.ic_my_order_sel,
        "我的订单",
        CRouter.webView,
        HttpUrl.MY_ORDER_HISTORY_URL
    ),

    MY_WANT(
        R.drawable.ic_my_notify,
        R.drawable.ic_my_notify_sel,
        "求购通知",
        CRouter.webView,
        HttpUrl.MY_WANT
    ),
    SERVICE(
        R.drawable.ic_my_service,
        R.drawable.ic_my_service_sel,
        "客服",
        CRouter.myService
    ),
    BALANCE(
        R.drawable.ic_my_balance,
        R.drawable.ic_my_balance_sel,
        "余额",
        CRouter.myBalance
    ),
    SETTINGS(
        R.drawable.ic_my_settings,
        R.drawable.ic_my_settings_sel,
        "设置",
        CRouter.mySettings
    ),
    ABOUT(
        R.drawable.ic_my_about,
        R.drawable.ic_my_about_sel,
        "关于",
        CRouter.myAbout
    ),
    LOGOUT(
        R.drawable.ic_my_logout,
        R.drawable.ic_my_logout_sel,
        "退出账号",
        CRouter.myMsgLogout
    );
}